#include<iostream>
using namespace std;
#include "DList.h"
#include "ListNode.h"
int main()
{
	DList<int> list;
	for (int i = 0; i < 10; i++)
	{
		bool b=list.insert(i, i, 1);
		
	}
	list.output();
	cout << "==================" << endl;
	list.remove(2, 0);
	list.remove(3, 1);
	list.output();
	cout << "==================" << endl;
	
	int size = list.length();
	bool flag=list.isEmpty();
	cout << "size====" << size << endl;
	cout <<"empty===="<< flag << endl;
	return 0;
}